UkrSolution\BarcodeScanner\API\classes\Results D

Total Complexity 274
Dependencies 11
Dependents 7
Total lines 1,230
Lines of code 937
Logical lines of code 552
Comment lines 6
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
assignOrderProps()
D
16
53 257
assignProps()
D
26
45 122
formatCartScannerItem()
B
37 23 61
assignGeneralProps()
B
36 15 77
getUserProductTaxRates()
A
49 11 28
getUserProductTaxClass()
A
49 11 27
getFieldPrice()
A
55 10 16
postsPrepare()
A
53 9 23
getChildren()
A
53 9 22
getAttributesLabels()
A
51 8 27
formatPostToRedirect()
A
52 8 23
prepareVariationPreview()
S
50 7 30
ordersPrepare()
S
58 7 15
productsPrepare()
S
58 7 15
getRequiredProductAttributes()
S
54 6 22
findLocalAttributeValues()
S
55 6 19
getShopTaxRate()
S
56 5 17
getProductPrice()
S
58 5 15
getShippingClass()
S
58 4 15
formatProduct()
S
63 4 10
getLocations()
S
61 3 12
formatOrder()
S
62 3 11
getUserShippingPriceTax()
S
60 2 13
getUserProductTax()
S
62 2 11
getShopProductTax()
S
62 2 11
getAllShippingClasses()
S
68 2 7
getNotes()
S
68 2 8
getShopShippingPriceTax()
S
64 2 10
clearPrice()
S
72 1 5
getThumbnailUrl()
S
79 1 3
jsonResponse()
S
73 1 5